FROM jdk:21.0.2
MAINTAINER gvp9132 <wjj910302@gmail.com>
#系统编码
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
WORKDIR /app

ADD build/libs/summer-record-1.0.0-SNAPSHOT.jar /app/summer-record.jar
#启动容器时的进程
ENTRYPOINT ["java","-jar","/app/summer-record.jar"]

#暴露端口
EXPOSE 8088